Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace usages of Map.Insert* #13736

Merged
merged 1 commit into from
Aug 30, 2022

Conversation

dmitryax
Copy link
Member

This change replaces usages on Map.Insert* with Map.Upsert* where there is no data expected under the key. This is done to evaluate open-telemetry/opentelemetry-collector#5998. We want to see how many places we have that really require using Insert methods.

This covers only part of the usages. More changes will be added in next PRs

@dmitryax dmitryax requested a review from a team August 30, 2022 18:48
@dmitryax dmitryax requested a review from a team August 30, 2022 18:48
@dmitryax dmitryax added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Aug 30, 2022
This change replaces usages on Map.Insert* with Map.Upsert* where there is no data under the key.

This covers only part of the usages. More changes will be added in next PRs
@bogdandrutu bogdandrutu merged commit aed95b1 into open-telemetry:main Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants